package com.opeartion.pojo;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "category")
public class Category {
	@Id
	private Integer tb_id;
	private String tb_name;
	private Integer goods_num;
	public Integer getTb_id(){
		return tb_id;
	}
	public void setTb_id(Integer tb_id){
		this.tb_id=tb_id;
	}
	public String getTb_name(){
		return tb_name;
	}
	public void setTb_name(String tb_name){
		this.tb_name=tb_name;
	}
	public Integer getGoods_num(){
		return goods_num;
	}
	public void setGoods_num(Integer goods_num){
		this.goods_num=goods_num;
	}

    @Override
    public String toString() {
        return "Category{" +
                "tb_id=" + tb_id +
                ", tb_name='" + tb_name + '\'' +
                ", goods_num=" + goods_num +
                '}';
    }
}

